package com.adun;

public class CharTest {
    public static void main(String[] args) {
        String s1="abadacef";
//        String s2 = s1.toUpperCase();
        char[] chars = s1.toCharArray();
        StringBuffer s2=new StringBuffer();
        for (char aChar : chars) {
            s2.append((char)(aChar-32));
        }
        System.out.println(s2);
    }
}
